const defaultState = {
    regisetStatus:false,
};
export default (state = defaultState,action)=>{
    switch(action.type){
        case "REGISTER_SUCCESS":
            return{...state, regisetStatus:true,}
        default:
            return { ...state }
    }
};
